package com.zmn.oms.persistence.interfaces.conf.ordertag;

import com.zmn.oms.model.entity.conf.ordertag.ConfOrderTag;
import com.zmn.oms.model.entity.conf.ordertag.ConfOrderTagQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ConfOrderTagDao {

    List<ConfOrderTag> listByQuery(ConfOrderTagQuery query);

    List<ConfOrderTag> listPageByQuery(ConfOrderTagQuery query);

    int countByQuery(ConfOrderTagQuery query);

    int insert(ConfOrderTag record);

    int insertSelective(ConfOrderTag record);

    ConfOrderTag selectByPrimaryKey(Integer id);

    List<ConfOrderTag> selectByIdList(@Param("idList") List<Integer> idList);

    int updateByPrimaryKeySelective(ConfOrderTag record);

    int updateByPrimaryKey(ConfOrderTag record);
}